package com.ws.system.role.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.ws.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 角色
 * </p>
 *
 * @author weifucheng
 * @since 2019-11-11
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class SystemRole extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 角色名称
     */
    private String name;

    /**
     * 角色代码
     */
    private String roleCode;

    /**
     * 角色描述
     */
    private String remark;

    @TableField(exist = false)
    private String userId;

    @TableField(exist = false)
    private String userroleId;
}
